package cn.hma.jftpl.controller;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;

public class IndexController extends Controller {
	public void index() {
		renderText("Hello Jfinal!");
	}
	
	public void test() {
		renderJsp("hello.jsp");
	}
	
	public void getinfo() {
		String info = HttpKit.get("http://www.tngou.net/api/tech/classify");
	    renderJson(info);
	}
}
